package com.zhinong.service;

import com.zhinong.dto.FarmPageQueryDTO;
import com.zhinong.entity.Farm;
import com.zhinong.result.PageResult;

public interface FarmService {
    PageResult pageQuery(FarmPageQueryDTO farmPageQueryDTO);

    Farm getById(Long id);

    void deleteById(Long id);

    void update(Farm farm);
}
